how we used components to add up vectors